WordDocumentReplace(IListString, IListString, ReplaceIn) Method

Replaces all occurrences of a specified oldText with newText.

Definition

Namespace: Independentsoft.Office.Word
Assembly: Independentsoft.Office (in Independentsoft.Office.dll) Version: 3.0.460.1+37fe42d8e65847775742df0a70fdb403ab6fa65f
C#
public void Replace(
	IList<string> oldText,
	IList<string> newText,
	ReplaceIn replaceIn
)

Parameters

oldText  IListString
An array of strings to replace.
newText  IListString
An array of strings that replaces oldText.
replaceIn  ReplaceIn
Replace scope.

See Also